package StructuralPatterns.Composite;

public class Department extends OrganizationComponent {


  public Department(String name, String des) {
    super(name, des);
  }


  @Override
  protected void print() {
    System.out.println(getName());
  }

  @Override
  public String getDes() {
    return super.getDes();
  }

  @Override
  public String getName() {
    return super.getName();
  }
}
